Carbon


Translation Attributes

Header: TranslationExtensions.h

enum {
    taDstDocNeedsResourceFork = 1,
    taDstIsAppTranslation = 2
};

Constant descriptions

taDstDocNeedsResourceFork

Before Macintosh Easy Open sends your translation extension the kTranslateTranslateFile request code, it has already created the destination file’s data fork. Set this bit if the translated document also needs a resource fork.

taDstIsAppTranslation

Set this bit if your extension doesn’t actually perform the translation because an associated application can already translate the specified file type into the desired format.

The FileTypeSpec structure uses the following constants in the flags field to indicate how to control the translation for destination file type specifications.


© 2000 Apple Computer, Inc. — (Last Updated 3/23/2000)